﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MVPinWebForms
{
    public class Presenter
    {
        private IView _view;

        public Presenter(IView view)
        {
            _view = view;
        }


        public void ShowRecords()
        {
            List<string> records = Model.GetData();
            _view.Records = records;
        }
    }
}